# @time     :2022/1/18
# @Author   :Simple
# @FileName :onsale_page
from appium.webdriver.common.mobileby import MobileBy
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait

from common.element import GetElement
from xueqiu_demo.page.base_page import BasePage as base


class OnsalePage(base):
    phone_input = GetElement(id_="phone-number", describe="手机号输入框", wait=True)
    code_input = GetElement(id_="code", describe="验证码输入框")
    onsale_btn = GetElement(accessibility_id="立即开户")
    back_btn = GetElement(accessibility_id="转到上一层级")

